package com.zjbd.douyanglive.job;

import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class PreventionOfSuddenDeathJob {

    @XxlJob("preventionOfSuddenDeath")
    public void job() throws Exception {
        log.info("防止直播久了的任务");
    }

    @XxlJob("preventionOfSuddenDeath2")
    public void job2() throws Exception {
        log.info("彩纸村太拉吉了");
    }
}
